package com.zbvc.dao;

import com.zbvc.entity.Admin;

public interface AdminDao {
	
	int reg(Admin admin);
	
	boolean login(String username,String password);
	
	Admin getAdminInfo(String username,String password);
	
	Admin getAdminByAid(int aid);
	
	// 更新密码
	boolean updatePassword(int aid ,String password);
	
	// 更新用户数据
	int updateAdminByAid(Admin admin);

}
